package com.muyun.data.modeler.sysadmin.api.request;

import com.muyun.data.modeler.infrastructure.general.specs.ApiRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 加密给定字符串请求参数
 *
 * @author muyun12
 * @date 2020-12-23 23:48:16
 * @since 0.1.0
 */
@ApiModel
public class EncryptRequest extends ApiRequest {

    @NotBlank(message = "{parameter}{not.blank}")
    @ApiModelProperty(value = "待加密字符串", required = true, notes = "需要加密的字符串", example = "123456")
    private String text;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
